-
Notifications
You must be signed in to change notification settings - Fork 260
ci: reorganize pipeline stages #4061
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
the images should only be required during the e2e stage after cluster creation the e2e stage is already dependent on publish multiarch manifests, which is already dependent on build images; thus, all e2e stages are implictly dependent on the build image stage success
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR reorganizes the CI pipeline stages to improve build efficiency by restructuring dependencies and parallelizing operations. The changes aim to speed up pipeline execution by allowing image builds to start during unit tests and removing unnecessary dependencies between stages.
- Removed dependency on test stage for build and containerize stages to allow parallel execution
- Created a separate
publish_npmstage for NPM multiarch manifest creation - Changed E2E test dependencies from "containerize" to "test" to enable cluster creation without waiting for image builds
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
jpayne3506
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Moving NPM manifest stage to its own stage can potentially save us 20-30 minutes. Thank you for this change @QxBytes
* shortcircuit ut * test multi dependency * split npm manifest out * remove dependency of create cluster on build images in acn pr pipeline the images should only be required during the e2e stage after cluster creation the e2e stage is already dependent on publish multiarch manifests, which is already dependent on build images; thus, all e2e stages are implictly dependent on the build image stage success
Reason for Change:
Start building images during the unit test stage, remove cluster create dependency on image build, move npm manifest creation to new stage. Aiming to speed up pipeline runs.
Issue Fixed:
See above
Requirements:
Notes:
Latest: https://msazure.visualstudio.com/One/_build/results?buildId=139113170
POC: https://msazure.visualstudio.com/One/_build/results?buildId=139103901